<template>
   <!-- 收藏头部 -->
    <div class="collectionHeader">
      <!-- 头部版心 -->
      <div class="headerContainer">
        <i :class="icon"></i>
        <span class="collectionText">{{text}}</span>
        <span class="tips" v-if="tips">{{tips}}</span>
      </div>
    </div>
</template>

<script>
export default {
    name:"MyHeader",
    props:["icon","text","tips"]
}
</script>

<style scoped lang="less">
 // 收藏头部区域
  .collectionHeader {
    width: 100%;
    background: #fff;
    margin: 0 auto;
    height: 66px;
    border-bottom: 2px rgb(255, 130, 0) solid;
    // 收藏头部版心
    .headerContainer {
      width: 1220px;
      height: 100%;
      line-height: 66px;
      margin: 0 auto;
      // 我的收藏
      .collectionText {
        font-size: 28px;
      }
      // 字体图标
      i {
        font-size: 32px;
        color: rgb(255, 130, 0);
        line-height: 66px;
        margin-right: 8px;
      }
      // 温馨提示
      .tips{
        color: #666;
        margin-left: 10px;
      }
    }
  }
</style>